let header = {
    "x-agora-token":
    localStorage.getItem('rtmToken'),
    "x-agora-uid": JSON.parse(localStorage.getItem('user')).user_id,
}

let channel_text_name = `cuyear${new Date().getFullYear()}_cumonth=${new Date().getMonth() + 1}cuhour=${new Date().getHours()}_courseid${window.location.href.split('/')[6].split('?')[1].split('&')[1].split('=')[1]}_channeltext`
let channel_file_name = `cuyear${new Date().getFullYear()}_cumonth=${new Date().getMonth() + 1}cuhour=${new Date().getHours()}_courseid${window.location.href.split('/')[6].split('?')[1].split('&')[1].split('=')[1]}_channelfile`

export  {
    header,
    channel_text_name,
    channel_file_name
}